package com.sunjy.apollo1.apolloConfig;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import com.sunjy.apollo1.config.DruidDBConfig;
import com.sunjy.apollo1.configuration.FilterManager;

/**
 * @Auther: sunjy
 * @Date: 2018/10/29 10:42
 * @Description:
 */
@Configuration
@EnableApolloConfig
public class AppConfig {
	@Bean
	public DruidDBConfig druidDBConfig() {
		return new DruidDBConfig();
	}

	@Bean
	public FilterManager filterManager() {
		return new FilterManager();
	}
	
	@Bean
	public UserBeanConfig userBeanConfig() {
		return new UserBeanConfig();
	}
}
